package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.StkAccountBean;

/**
* 描述：获取股票账户开户数据，统计周期为一周
* @author: codesmith
**/
@Data
@TableName("stk_account")
public class StkAccountEntity implements StkAccountBean {
    
    /*
    * 统计周期
    */
    @TableId
    @TableField("`date`") protected String date;

    @TableField("`weekly_new`") protected Double weeklyNew;

    @TableField("`total`") protected Double total;

    @TableField("`weekly_hold`") protected Double weeklyHold;

    @TableField("`weekly_trade`") protected Double weeklyTrade;
}